package Thread;
//注意start()方法与 run()方法的不同；
public class Demo9 {
    public static void main(String[] args){
        Thread thread=new Thread(()->{
            System.out.println("hello thread");
        });
        //thread.run();
        thread.start();
    }
}
